import Loadable from 'react-loadable'; //路由懒加载
import { Loading } from '../components';
const Dashboard = Loadable({
  loader: () => import('./Dashboard'),
  loading: Loading
});
const Login = Loadable({
  loader: () => import('./Login'),
  loading: Loading
});
const NotFound = Loadable({
  loader: () => import('./NotFound'),
  loading: Loading
});
const ArticalList = Loadable({
  loader: () => import('./Artical'),
  loading: Loading
});
const ArticalEdit = Loadable({
  loader: () => import('./Artical/edit'),
  loading: Loading
});
const Settings = Loadable({
  loader: () => import('./Settings'),
  loading: Loading
});
const Notifications = Loadable({
  loader: () => import('./Notifications'),
  loading: Loading
});
const NoAuth = Loadable({
  loader: () => import('./NoAuth'),
  loading: Loading
});
const Profile = Loadable({
  loader: () => import('./Profile'),
  loading: Loading
});
export {
  Dashboard,
  Login,
  NotFound,
  ArticalList,
  ArticalEdit,
  Settings,
  Notifications,
  NoAuth,
  Profile
}; //注意咋不确定使用export还是export default的时候，使用export就对了
